﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NicoView.Model.Service
{
    public class NotificationNicoSelfUser:NicoViewObservableObject
    {
        internal NotificationNicoSelfUser(NotificationNicoUser selfUser,bool isPremium)
        {
            this.selfUser = selfUser;

            this.selfUser.PropertyChanged += (s, args) =>
            {
                this.RaisePropertyChanged(args.PropertyName);
            };

            this.IsPremium = isPremium;
        }


        public bool IsPremium{get; private set;}
      

        private NotificationNicoUser selfUser;


        public string Id
        {
            get
            {
                return this.selfUser.Id;
            }
        }

        public string NickName
        {
            get
            {
                return this.selfUser.NickName;
            }
        }


        internal NotificationNicoUser AsNotifyNicoUser()
        {
            return this.selfUser;
        }

    }
}
